﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="emojiSelect.Index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="Scripts/jquery-3.1.1.js"></script>
    <script src="emoji-select.js"></script>
    <link href="emoji-select.css" rel="stylesheet" />
    <style>
        html, body {
            padding: 0;
            margin: 0;
        }
    </style>
</head>
<body>
    <textarea id="textarea" style="width:100%;height:100px;"></textarea>
    <div style="position:relative;height:200px;">
    <button id="btnShow" style="position:absolute;bottom:20px;left:20px;">show</button>
        </div>
    <script>
        var emoji = $.emojiSelect({
            inputHander: '#textarea',
            openHander: '#btnShow'
        });

        //$("#btnShow").click(function () {
        //    emoji.show({ top: $(this).offset().top });
        //});
    </script>
</body>
</html>
